package sk.naive.talker;

import java.util.List;

/**
 * TimerService.
 *
 * @author <a href="mailto:virgo@naive.deepblue.sk">Richard "Virgo" Richter</a>
 * @version $Revision: 1.1 $ $Date: 2005/01/04 20:54:22 $
 */
public interface TimerService {
	void schedule(TimerTask task, long delay);
	void schedule(TimerTask task, java.util.Date time);
	void schedule(TimerTask task, long delay, long period);
	void schedule(TimerTask task, java.util.Date time, long period);
	void remove(TimerTask task);
	void cancel();
	List<TimerTask> tasks(); 
}
